package office.action.hr.wrapper;

import office.bo.hr.impl.RecruitRequirement;
import platform.common.bo.IdentifiableObj;

/**
 * 招聘需求wrapper
 * @author ibmsz
 *
 */
public class RecruitRequirementWrapper {
	private String id;
	private String station;				//需求岗位
	private String equirementdate;		//用工日期
	private int population;				//需求人数
	private String remak;				//备注
	private String stationRequire;		//岗位要求
	
	private String deptId;				//需求部门id
	private String deptName;			//部门名称
	
	public RecruitRequirementWrapper(){
		
	}
	public RecruitRequirementWrapper(String id,String station,String equirementdate){
		this.id = id;
		this.station = station;
		this.equirementdate = equirementdate;
	}
	
	public RecruitRequirementWrapper(String id,String station,String equirementdate,int population,
			String remak,String stationRequire,String deptId,String deptName){
		this.id = id;
		this.station = station;
		this.equirementdate = equirementdate;
		this.population = population;
		this.remak = remak;
		this.stationRequire = stationRequire;
		this.deptId = deptId;
		this.deptName = deptName;
	}
	/**
	 * 从bo拷贝属性
	 * @param baseBO
	 */
	public void copyToWrapper(IdentifiableObj baseBO){
		RecruitRequirement recruitRequirement = (RecruitRequirement)baseBO;
		this.id = recruitRequirement.getId().toString();
		this.station = recruitRequirement.getStation();
		this.equirementdate = recruitRequirement.getEquirementdate();
		this.population = recruitRequirement.getPopulation();
		this.remak = recruitRequirement.getRemak();
		this.stationRequire = recruitRequirement.getStationRequire();
		this.deptId = recruitRequirement.getDeptId();
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getStation() {
		return station;
	}
	public void setStation(String station) {
		this.station = station;
	}
	public String getEquirementdate() {
		return equirementdate;
	}
	public void setEquirementdate(String equirementdate) {
		this.equirementdate = equirementdate;
	}
	public int getPopulation() {
		return population;
	}
	public void setPopulation(int population) {
		this.population = population;
	}
	public String getRemak() {
		return remak;
	}
	public void setRemak(String remak) {
		this.remak = remak;
	}
	public String getStationRequire() {
		return stationRequire;
	}
	public void setStationRequire(String stationRequire) {
		this.stationRequire = stationRequire;
	}
	public String getDeptId() {
		return deptId;
	}
	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}
	public String getDeptName() {
		return deptName;
	}
	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}
	
}
